package com.zyk.scaffold.common.exception;

import com.zyk.scaffold.common.basic.BasicErrorCode;
import com.zyk.scaffold.common.basic.BasicException;

public class BusinessException extends BasicException {
    public BusinessException(BasicErrorCode error) {
        super(error);
    }

    public BusinessException(String message, int errorCode) {
        super(message, errorCode);
    }

    public BusinessException(BasicErrorCode error, Throwable cause) {
        super(error, cause);
    }
    public BusinessException(String message, Throwable cause, int errorCode) {
        super(message, cause, errorCode);
    }
}
